package com.chazz.dto;/**
 *
 */

import cn.hutool.db.Entity;
import com.chazz.entity.Category;

/**
 *
 * @title: CategorpDto
 * @Author ZhaoHongRui
 * @Date: 2020/9/21 19:30
 * @Version 1.0
 */

public class CategorpDto {
    private Category category;

    private Entity entity;

    public CategorpDto(Category category, Entity entity) {
        this.category = category;
        this.entity = entity;
    }

    public CategorpDto() {
    }

    public Category getCategory() {
        return category;
    }

    public void setCategory(Category category) {
        this.category = category;
    }

    public Entity getEntity() {
        return entity;
    }

    public void setEntity(Entity entity) {
        this.entity = entity;
    }

    @Override
    public String toString() {
        return "CategorpDto{" +
                "category=" + category +
                ", entity=" + entity +
                '}';
    }
}
